# coding: utf-8

def getNumber():
    with open("./pwd_directory/dic.csv", "w+") as d:
        one = 0
        while one<10:
            two = 0
            while two < 10:
                three = 0
                while three < 10:
                    four = 0
                    while four < 10:
                        five = 0
                        while five < 10:
                            six = 0
                            while six < 10:
                                seven = 0
                                while seven < 10:
                                    eight = 0
                                    while eight < 10:
                                        str_pwd = str(one) + str(two) + str(three) + str(four) + str(five) + str(six) + str(
                                                seven) + str(eight)
                                        print(str_pwd)
                                        d.write(str_pwd+"\n")
                                        eight = eight + 1
                                    seven = seven + 1
                                six = six + 1
                            five = five + 1
                        four = four + 1
                    three = three + 1
                two = two + 1
            one = one + 1
    d.close()
getNumber()